package com.project.easy.common.framework.generator.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.easy.common.framework.generator.entity.FrameworkGeneratorDataSource;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author GreatorMan.cool
 * @since 2021-09-28
 */
public interface FrameworkGeneratorDataSourceMapper extends BaseMapper<FrameworkGeneratorDataSource> {
    /**
     * 查询表数据
     * @param sql SQL
     * @return 返回表
     */
    List<Map<String, Object>> queryTable(@Param("sql") String sql);


}
